#ifndef SENSORDATADISPLAYINTERFACE_H
#define SENSORDATADISPLAYINTERFACE_H

#include <QMainWindow>
#include "usermysqls.h"
#include <QSqlTableModel>
#include <QTableView>
#include <QHeaderView>
#include <QMessageBox>
#include <QVBoxLayout>
namespace Ui {
class SensorDataDisplayInterface;
}

class SensorDataDisplayInterface : public QMainWindow
{
    Q_OBJECT

public:
    static SensorDataDisplayInterface * instance();
    explicit SensorDataDisplayInterface(QWidget *parent = nullptr);
    ~SensorDataDisplayInterface();
    void displaySensorData();
private slots:
    void on_pushButtonRestart_clicked();

    void on_pushButtonBack_clicked();

private:
    Ui::SensorDataDisplayInterface *ui;
    QSqlTableModel *model;
//    void displaySensorData();
};

#endif // SENSORDATADISPLAYINTERFACE_H
